package com.music.demo.config;

import io.woo.htmltopdf.HtmlToPdf;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author chenxuan
 * @date 2019-05-17 10:00
 */
@Configuration
public class HtmlToPdfConfig {

    @Bean
    public HtmlToPdf htmlToPdf() {
        return HtmlToPdf.create();
    }
}
